package com.jtcoding.chat.service;

import com.jtcoding.chat.model.Chat;
import com.jtcoding.chat.model.ChatDetail;
import com.jtcoding.chat.model.ChatRecord;

import java.util.List;

/**
 * @Author jason.tang
 * @Date 2019/02/6 14:49
 * @Desc 聊天
 */

public interface ChatService {
    int addChatRecord(ChatRecord chatRecord);

    List<ChatDetail> getChatListByNum(Integer userNum);
}
